/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.bttk.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.bttk.entity.TCustomer;
import com.thinkgem.jeesite.modules.bttk.dao.TCustomerDao;

/**
 * 客户资料管理Service
 * @author soyatec
 * @version 2016-11-03
 */
@Service
@Transactional(readOnly = true)
public class TCustomerService extends CrudService<TCustomerDao, TCustomer> {

	public TCustomer get(String id) {
		return super.get(id);
	}
	
	public List<TCustomer> findList(TCustomer tCustomer) {
		return super.findList(tCustomer);
	}
	
	public Page<TCustomer> findPage(Page<TCustomer> page, TCustomer tCustomer) {
		return super.findPage(page, tCustomer);
	}
	
	@Transactional(readOnly = false)
	public void save(TCustomer tCustomer) {
		super.save(tCustomer);
	}
	
	@Transactional(readOnly = false)
	public void delete(TCustomer tCustomer) {
		super.delete(tCustomer);
	}
	
}